import request from "@/util/request";

export function login(code) {
    return request({
        url: '/user/login',
        data: {
            code: code
        }
    })
}

export function getUserInfo() {
    return request({
        url: 'auth/lgoin'
    })
}